package com.cx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName(value = "user")
public class User implements Serializable {
    private static final long serialVersionUID = -7771486830879755774L;
    @TableId(value = "id", type = IdType.AUTO)
    private long id;
    private String username;
    private String password;
    private Integer status;
    private String phone;
    private String sex;
    private String image;
    private LocalDateTime createTime;
}



